import { optimize, Configuration } from "webpack";
import testConfig from "./test";

const cfg: Configuration = {
  ...testConfig,
  plugins: [
    ...(testConfig.plugins as any),
    new optimize.UglifyJsPlugin({
      compress: {
        warnings: false
      }
    })
  ]
};

export default cfg;
